﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Inicio.aspx.cs" Inherits="AppGisena.Inicio" %>

<%@ Register assembly="Ext.Net" namespace="Ext.Net" tagprefix="ext" %>

<!DOCTYPE html>

<html>
<head runat="server">
    <title>Viewport with BorderLayout - Ext.NET Examples</title>


   



</head>
<body>
    <ext:ResourceManager runat="server" />
    
    <ext:Viewport runat="server" Layout="BorderLayout">
        <Items>
             <ext:Panel 
                runat="server"
                Title="SISTEMA DE INFORMACIÓN GEOGRAFICO" 
                Region="North"
                Split="true"
                Height="150"
                BodyPadding="0" 
                 
                Html="<img src='Images/banner.fw.png'/>"
                Collapsible="true" UI ="Success"  />
               
              
          
            <ext:Panel 
                runat="server" 
                Title="MODULOS" 
                Region="West"
                Layout="Accordion"
                Width="225"
                MinWidth="225" 
                MaxWidth="400" 
                Split="true"
                 
                Collapsible="true" UI ="Success">
                
                   <TopBar>
            <ext:Toolbar runat="server">
                <Items>
                    <ext:Button runat="server" Icon="Connect">
                        <ToolTips>
                            <ext:ToolTip 
                                runat="server" 
                                Title="Rich ToolTips" 
                                Html="Let your users know what they can do!" />
                        </ToolTips>
                    </ext:Button>
                    <ext:Button ID="Button2" runat="server" Icon="UserAdd" />
                    <ext:Button ID="Button3" runat="server" Icon="UserDelete" />
                </Items>
            </ext:Toolbar>
        </TopBar>
        <Items>
            <ext:TreePanel runat="server" Title="UNIDAD PRODUCTIVA" RootVisible="false"  ID="TreePanel1">
                
                <Root>
                    <ext:Node Text="Root">
                        <Children>
                            <ext:Node Text="CARACTERIZACIÓN DE LA UNIDAD PRODUCTIVA" Expanded="true">
                                <Children>
                                    <ext:Node Text="Registrar Unidad Productiva" Icon="LaptopLink" Leaf="True" />
                                   
                                     <ext:Node Text="Agregar Productos" Icon="CartGo" Leaf="True" />
                                     <ext:Node Text="Georeferenciar Unidad Productiva" Icon="CartGo" Leaf="True" />
                                    <ext:Node Text="Composición" Expanded="true">
                                        <Children>
                                                   <ext:Node Text="Vincular Asesores" Icon="User" Leaf="True" />
                                                   <ext:Node Text="Vincular Socios" Icon="User" Leaf="True" />
                                                </Children>
                                    </ext:Node>
                                    
                                </Children>

                            </ext:Node>

                             
                            
                        </Children>
                    </ext:Node>
                </Root>

                 <Listeners>
                
                     <ItemClick Handler="#{DirectMethods}.Seleccionado(record.data.text);"  />        
                              
                    

                <ItemExpand 
                    Handler="#{StatusBar1}.setStatus({text: 'Node Expanded: <b>' + item.data.text + '<br />', clear: false});" 
                    Buffer="30"/>
                    
                <ItemCollapse 
                    Handler="#{StatusBar1}.setStatus({text: 'Node Collapsed: <b>' + item.data.text + '<br />', clear: false});" 
                    Buffer="30"
                    />
            </Listeners>
            </ext:TreePanel>
            
             <ext:TreePanel runat="server" Title="PRODUCCION DE LA U.P." RootVisible="false"  ID="TreePanel2">
                
                <Root>
                    <ext:Node Text="Root">
                        <Children>
                            

                             <ext:Node Text="PRODUCCIÓN" Expanded="true">
                                <Children>
                                    <ext:Node Text="Registrar Produccion" Icon="MagifierZoomOut" Leaf="True" />
                                </Children>

                                 <Children>
                                    <ext:Node Text="Herramienta Financiera" Icon="MagifierZoomOut" Leaf="True" />
                                </Children>

                            </ext:Node>


                             






                        </Children>
                    </ext:Node>
                </Root>

                 <Listeners>
                
                     <ItemClick Handler="#{DirectMethods}.Seleccionado(record.data.text);"  />        
                              
                    

                <ItemExpand 
                    Handler="#{StatusBar1}.setStatus({text: 'Node Expanded: <b>' + item.data.text + '<br />', clear: false});" 
                    Buffer="30"/>
                    
                <ItemCollapse 
                    Handler="#{StatusBar1}.setStatus({text: 'Node Collapsed: <b>' + item.data.text + '<br />', clear: false});" 
                    Buffer="30"
                    />
            </Listeners>
            </ext:TreePanel>

            <ext:TreePanel runat="server" Title="FORTALECIMIENTO DE LA U.P." RootVisible="false"  ID="TreePanel3">
                
                <Root>
                    <ext:Node Text="Root">
                        <Children>
                            

                             <ext:Node Text="FORTALECIMIENTO" Expanded="true">
                                <Children>
                                    <ext:Node Text="Registrar Fortalecimiento" Icon="MagifierZoomOut" Leaf="True" />
                                </Children>

                                 <Children>
                                    <ext:Node Text="Herramienta de Diagnostico" Icon="MagifierZoomOut" Leaf="True" />
                                </Children>

                            </ext:Node>

                            

                        </Children>
                    </ext:Node>
                </Root>

                 <Listeners>
                
                     <ItemClick Handler="#{DirectMethods}.Seleccionado(record.data.text);"  />        
                              
                    

                <ItemExpand 
                    Handler="#{StatusBar1}.setStatus({text: 'Node Expanded: <b>' + item.data.text + '<br />', clear: false});" 
                    Buffer="30"/>
                    
                <ItemCollapse 
                    Handler="#{StatusBar1}.setStatus({text: 'Node Collapsed: <b>' + item.data.text + '<br />', clear: false});" 
                    Buffer="30"
                    />
            </Listeners>
            </ext:TreePanel>
           
        </Items>

             


                
            </ext:Panel>
            <ext:TabPanel ID="TabPrinc" runat="server" Region="Center"  UI ="Success" ActiveIndex="1" Title ="ESPACIO DE TRABAJO" >
                <Items>
                    <ext:Panel 
                         ID="mapa"
                        runat="server" 
                        Title="WEBMAPPING" 
                        Border="false" 
                        BodyPadding="6" >
                           <Listeners>
                            <Activate Handler="#{DirectMethods}.CaragarPaginaMapa();" />
                         </Listeners>
                    <Loader runat="server" Url="http://examples.ext.net/#/Loaders/Component/Http_Handler/" Mode="Html" Scripts="true"  AutoLoad="false" >
                    
                         <LoadMask ShowMask="true" />

                        </Loader>


                          </ext:Panel>

                    <ext:Panel 
                        ID="AreaTrab"
                        runat="server" 
                        Title="ESPACIO DE TRABAJO" 
                        Closable="False" 
                        Border="false" 
                        BodyPadding="6">

                         <Loader runat="server" Url="http://examples.ext.net/#/Loaders/Component/Http_Handler/" Mode="Html" Scripts="true"  AutoLoad="false" />
                         
                        </ext:Panel>

                </Items>
                
            </ext:TabPanel>
              <ext:Panel 
                runat="server" 
                Title="AYUDAS" 

                Region="East"
                Resizable ="true"  
              
                  Collapsed="true"  
                Collapsible="true" 
                Split="true" 
                MinWidth="225"
                Width="225" 
                Layout="Fit" UI ="Success"/>
            
              <ext:Panel 
                runat="server"
                Title="South"
                Region="South"
                
                   
                Split="true"
                Collapsible="true"
                Height="80"
                BodyPadding="0"
                Html="<img src='Images/footer.fw.png'/>"
                />
           
        </Items>
        
    </ext:Viewport>
</body>
</html>

